package com.company.creational.abstract_factory_pattern.factory;

import com.company.creational.abstract_factory_pattern.product.button.Button;
import com.company.creational.abstract_factory_pattern.product.button.SummerButton;
import com.company.creational.abstract_factory_pattern.product.combobox.ComboBox;
import com.company.creational.abstract_factory_pattern.product.combobox.SummerComboBox;
import com.company.creational.abstract_factory_pattern.product.textfield.SummerTextField;
import com.company.creational.abstract_factory_pattern.product.textfield.TextField;

/**
 * @ClassName SummerSkinFactory
 * @Author tiezheng.han
 * @Date 2020/8/27 10:36
 **/
public class SummerSkinFactory implements SkinFactory {
    @Override
    public Button createButton() {
        return new SummerButton();
    }

    @Override
    public TextField createTextFiled() {
        return new SummerTextField();
    }

    @Override
    public ComboBox createComboBox() {
        return new SummerComboBox();
    }
}
